//
//  AVRequest+ChangeInfo.h
//  项目三
//
//  Created by rimi1 on 2016/12/13.
//  Copyright © 2016年 Wangxingqian. All rights reserved.
//

#import "AVRequest.h"
// 0 == 成功  1 == 失败 2 == 已存在昵称  3 == 有error
typedef void(^AVChangeName)(NSInteger status, NSError *error);

@interface AVRequest (ChangeInfo)
// 修改头像
+ (void)avHeadImageWithData:(NSData *)data
                headSueeccd:(AVImage)headSueeccd;
// 修改密码
+ (void)avPasswordWithPassword:(NSString *)password
                      pSucceed:(AVSucceed)pSucceed;
// 修改昵称
+ (void)avNameWithName:(NSString *)name
                 block:(AVChangeName)block;

+ (void)avSexWithSex:(NSString *)sex
            sSueeccd:(AVSucceed)sSucceed;
// 提交意见
+ (void)avFeedbackWithContent:(NSString *)content
                     aSucceed:(AVSucceed)aSucceed;

@end
